package com.wltt.product.ahuthr.controller;

import com.wltt.product.ahuthr.model.ResultData;
import com.wltt.product.ahuthr.model.vo.QueryAgreementAttributeReq;
import com.wltt.product.ahuthr.service.SystemAgreementAttributeService;
import com.wltt.product.ahuthr.service.SystemAgreementTypeService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/api/system/agreementAttribute")
public class AgreementAttributeController {

    @Resource
    private SystemAgreementAttributeService systemAgreementAttributeService;

    /**
     * 查询合同属性
     *
     * @return
     */
    @RequestMapping(value = {"/queryAgreementAttribute"}, method = RequestMethod.POST)
    public ResultData queryAgreementAttribute(@RequestBody QueryAgreementAttributeReq queryAgreementAttributeReq) {
        return systemAgreementAttributeService.queryAgreementAttribute(queryAgreementAttributeReq);
    }


}
